home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 5 / CD-ROM Today - The Disc (Issue 5)(November 1994).ISO / mac / Mac shareware / Education / RLaB / misc / install.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1994-09-21  |  323 b   |  23 lines  |  [TEXT/ttxt]

  1. #!/bin/sh
  2.  
  3. #
  4. # Cheap install imitation because GNU Autoconfigure is way 
  5. # to picky, and does not handle non-BSD installs gracefully.
  6. #
  7.  
  8. if [ $# -lt 2 ] ; then
  9.   echo "install.sh: requires two arguments"
  10. fi
  11.  
  12. for i in $*
  13. do
  14.   case $i in 
  15.     -c) # ignore
  16.         shift
  17.         continue ;;
  18.     *)  break;;
  19.   esac
  20. done
  21.  
  22. cp $*
  23.